package com.hellobike.haxing.modules.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hellobike.haxing.modules.wms.entity.ShippingDetail;
import com.hellobike.haxing.modules.wms.enums.ShippingTypeEnum;

import java.util.List;

/**
 * @Description: t_wms_shipping_detail
 * @Author: haxing-boot
 * @Date:   2020-02-02
 * @Version: V1.0
 */
public interface IShippingDetailService extends IService<ShippingDetail> {

    void removeByHeaderId(Long shippingHeaderId);

    List<ShippingDetail> getByHeaderId(Long shippingHeaderId);

    ShippingDetail getByDeliveryOrderIdAndType(Long headerId, ShippingTypeEnum typeEnum);
}
